package cn.itcast.bos.service.base;

import cn.itcast.bos.domain.base.Area;


import java.util.List;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

/**
 * Created by xbqco on 2018/7/13.
 */
public interface AreaService {
    public Page<Area> findPage(Specification spec, Pageable pageable);

    public List<Area> findAll();

    public void save(Area area);

    public void save(List<Area> list);


}
